package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupPullConfig;
import com.xjscrm.console.param.operatePlan.GroupPullQuery;
import com.xjscrm.console.vo.GroupPullVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupPullConfigMapper {
    int insert(GroupPullConfig groupPullConfig);

    List<GroupPullVo> getGroupPullPlanList(GroupPullQuery groupPullQuery);

    GroupPullConfig getById(@Param("id") Long id, @Param("merId") Long merId);

    void update(GroupPullConfig groupPullConfig);

    int delById(@Param("id") Long id, @Param("merId") Long merId);
}
